This repository has been archived by the owner on Sep 4, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add proxy support and "Force HTTPS for GitHub" setting #272
Open
gmdfalk
wants to merge
22
commits into
alcatraz:master
Choose a base branch
from
gmdfalk:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thanks @mikar, the PR is quite big so we'll need to find some time to review/test it, apologies for the slow response. |
* 'master' of https://github.com/mikar/Alcatraz: Add 6.3.2 compatibility UUID Remove Keybind for newly added proxy options Restore connection to forceHttpsForGitHub outlet Slight cleanup/refactoring Correctly restore NSMenuItem state for Force HTTPS option Don't force https for github by default GUI Update: Add proxy localization title and enable state for Preference Menu Items Use Environment variables instead of git config to set proxy Add settings for HTTP proxy and forced HTTPS instead of GIT for github
* upstream/master: update changelog updated install script for version 1.1.6 bump version to 1.1.6 seems like aligning is hard Add Xcode 6.4 support Fix typo s/proggress/progress/ Update install.sh Added Xcode 7 UUID Smooths ATZFillableButton's text color change Fixes package thumnails mixups on cell reusal and started sharing the same image cache for both thumbnails and screenshots. updated install script for version 1.1.5 bump version to 1.1.5 update changelog extract string constants clean the build directory when executing xcodebuild for issue alcatraz#250
This would be great if it works! |
Any updates on this ? |
I haven't looked at the code yet, but my first thoughts on the proxy thing are that if possible we should use the proxy settings defined at the OS level (in System Preferences). I don't remember having ever used an app where you could set custom proxy settings instead of relying on the system settings. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I use XCode with Alcatraz at work. My work environment requires a proxy for HTTP(s) connections.
Without a proxy, I cannot install plugins with Alcatraz.
This change fixes that by adding a new Alcatraz preference "Set HTTP Proxy". The value will be saved as a NSUserDefault and set as environment variable for both http_proxy and HTTPS_PROXY on shell subprocesses within Alcatraz (i.e. currently /usr/bin/git and (negligable) /usr/bin/xcodebuild).
The input for the preference can be any valid proxy host with an optional port, e.g.
proxy.mydomain.com:9999
.This pull request also adds a second new Alcatraz preference "Force HTTPS for GitHub" to adress issue #214, although I have yet to see a plugin that uses the git protocol for the clone command. I've tried around 10 and they were all HTTPS.
Those preferences together with the packageRepo NSUserDefaults are now handled in a new utility class ATZConfig.
I'm sorry about the messy commits, I forgot to turn off auto-formatting.
Regards